package com.whu.tcx01.pojo;

public class MyRoad {
    private long roadid;
    private long start;
    private long stop;
    private int direction;
    private double distance;
    private int pathclass;
    private double speed;

    public long getRoadid() {
        return roadid;
    }

    public void setRoadid(long roadid) {
        this.roadid = roadid;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getStop() {
        return stop;
    }

    public void setStop(long stop) {
        this.stop = stop;
    }

    public int getDirection() {
        return direction;
    }

    public void setDirection(int direction) {
        this.direction = direction;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public int getPathclass() {
        return pathclass;
    }

    public void setPathclass(int pathclass) {
        this.pathclass = pathclass;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    @Override
    public String toString() {
        return "MyRoad{" +
                "roadid=" + roadid +
                ", start=" + start +
                ", stop=" + stop +
                ", direction=" + direction +
                ", distance=" + distance +
                ", pathclass=" + pathclass +
                ", speed=" + speed +
                '}';
    }
}
